<?php namespace Admin\Controller; 


//测试控制器
class IndexController extends Controller{

	
    //动作
    public function index(){
		View::with('username',$_SESSION['username']);
       	View::make();
	   
    }
	
	public function out()
	{
		session_unset();
		session_destroy();
		go('Login/login');
	}
}
